<template>
  <div class="home">
    <img class="banner" src="../../assets/组 11.png"/>
    <el-select v-model="value" placeholder="全部分类">
      <el-option
        v-for="item in options"
        :key="item.value"
        :label="item.label"
        :value="item.value">
      </el-option>
    </el-select>
    <el-main>
      <!-- 商品区域开始 -->
      <div class="demo-image">
        <div class="block">
          <div class="tips">
            <p>热卖中</p>
          </div>
          <img class="shop-img" src="../../assets/shop1.png"/>
          <div class="shop-content">
            <span class="content">宝可梦系列</span>
            <span><img class="level" src="../../assets/等级@2x.png" /></span>
            <div class="user">
              <span class="avatar"><img src="../../assets/头像.webp.png" /></span>
              <p class="user-name">杨过</p>
              <el-button size="small">￥533</el-button>
            </div>
          </div>
        </div>
        <div class="block">
          <div class="tips-no">
            <p>首发售罄</p>
          </div>
          <img class="shop-img" src="../../assets/shop2.png"/>
          <div class="shop-content">
            <span class="content">宝可梦系列</span>
            <span><img class="level" src="../../assets/等级@2x.png" /></span>
            <div class="user">
              <span class="avatar"><img src="../../assets/头像.webp.png" /></span>
              <p class="user-name">杨过</p>
              <el-button class="sale" size="small">￥533</el-button>
            </div>
          </div>
        </div>
        <div class="block">
          <div class="tips-no">
            <p>首发售罄</p>
          </div>
          <img class="shop-img" src="../../assets/shop3.png"/>
          <div class="shop-content">
            <span class="content">宝可梦系列</span>
            <span><img class="level" src="../../assets/等级@2x.png" /></span>
            <div class="user">
              <span class="avatar"><img src="../../assets/头像.webp.png" /></span>
              <p class="user-name">杨过</p>
              <el-button class="sale" size="small">￥533</el-button>
            </div>
          </div>
        </div>
        <div class="block">
          <div class="tips-no">
            <p>首发售罄</p>
          </div>
          <img class="shop-img" src="../../assets/shop4.png"/>
          <div class="shop-content">
            <span class="content">宝可梦系列</span>
            <span><img class="level" src="../../assets/等级@2x.png" /></span>
            <div class="user">
              <span class="avatar"><img src="../../assets/头像.webp.png" /></span>
              <p class="user-name">杨过</p>
              <el-button class="sale" size="small">￥533</el-button>
            </div>
          </div>
        </div>
        <div class="block">
          <div class="tips-no">
            <p>首发售罄</p>
          </div>
          <img class="shop-img" src="../../assets/shop5.png"/>
          <div class="shop-content">
            <span class="content">宝可梦系列</span>
            <span><img class="level" src="../../assets/等级@2x.png" /></span>
            <div class="user">
              <span class="avatar"><img src="../../assets/头像.webp.png" /></span>
              <p class="user-name">杨过</p>
              <el-button class="sale" size="small">￥533</el-button>
            </div>
          </div>
        </div>
        <div class="block">
          <div class="tips-no">
            <p>首发售罄</p>
          </div>
          <img class="shop-img" src="../../assets/shop6.png"/>
          <div class="shop-content">
            <span class="content">宝可梦系列</span>
            <span><img class="level" src="../../assets/等级@2x.png" /></span>
            <div class="user">
              <span class="avatar"><img src="../../assets/头像.webp.png" /></span>
              <p class="user-name">杨过</p>
              <el-button class="sale" size="small">￥533</el-button>
            </div>
          </div>
        </div>
      </div>
      <!-- 商品区域结束 -->
      <el-button class="look-btn">查看更多</el-button>
      <!-- 数字藏品区域开始 -->
      <div class="figure">
        <div class="title">
          <h1>什么是NFT数字藏品</h1>
          <p class="icon"></p>
          <p class="text">开启全新的数字艺术收藏之旅</p>
        </div>
        <div class="content">
          <div class="content-block">
            <img src="../../assets/one.png" />
            <div class="detail">
              <p class="content-txt">唯一性</p>
              <p class="introduce">每个数字藏品都是独一无二的，且具有不同属性，这些属性通常存储在元数据中，且铸造后不可篡改。</p>
            </div>
          </div>
          <div class="content-block">
            <img src="../../assets/two.png" />
            <div class="detail">
              <p class="content-txt">唯一性</p>
              <p class="introduce">每个数字藏品都是独一无二的，且具有不同属性，这些属性通常存储在元数据中，且铸造后不可篡改。</p>
            </div>
          </div>
          <div class="content-block">
            <img src="../../assets/three.png" />
            <div class="detail">
              <p class="content-txt">唯一性</p>
              <p class="introduce">每个数字藏品都是独一无二的，且具有不同属性，这些属性通常存储在元数据中，且铸造后不可篡改。</p>
            </div>
          </div>
        </div>
      </div>
      <!-- 数字藏品区域结束 -->
    </el-main>
    <el-footer>
      <!-- 数字收藏区域开始 -->
      <div class="footer">
        <div class="footer-content">
          <h2>NFT数字收藏</h2>
          <p class="title">全球领先的数字藏品电商平台</p>
          <p class="intro">未来是一个万物上链的数字世界，数字藏品应用不再局限于艺术品、收藏品，将会扩展到数字身份、版权许可、品 牌授权等，NFT的使命是：构建一个全球领先的数字藏品电商平台。</p>
        </div>
        <div class="footer-block">
          <div class="block-demo">
            <div class="block">
              <p class="block-title">认证品牌+创作者自营品牌</p>
              <p class="block-txt">NFT对于认证过的创作者给予认证标识，确保作品真实性和质量，后续逐步将认证的权利让渡给社区。</p>
            </div>
          </div>
          <div class="block-demo">
            <div class="block">
              <p class="block-title">认证品牌+创作者自营品牌</p>
              <p class="block-txt">NFT对于认证过的创作者给予认证标识，确保作品真实性和质量，后续逐步将认证的权利让渡给社区。</p>
            </div>
          </div>
          <div class="block-demo">
            <div class="block">
              <p class="block-title">认证品牌+创作者自营品牌</p>
              <p class="block-txt">NFT对于认证过的创作者给予认证标识，确保作品真实性和质量，后续逐步将认证的权利让渡给社区。</p>
            </div>
          </div>
          <div class="block-demo">
            <div class="block">
              <p class="block-title">认证品牌+创作者自营品牌</p>
              <p class="block-txt">NFT对于认证过的创作者给予认证标识，确保作品真实性和质量，后续逐步将认证的权利让渡给社区。</p>
            </div>
          </div>
        </div>
      </div>
      <!-- 数字收藏区域开始 -->
      <!-- 关于我们区域开始 -->
      <div class="about">
        <!-- <img class="bgc" src="../../assets/组 8@2x.png" /> -->
        <div class="about-bgc">
          <div class="about-content">
            <p class="title">全球领先的数字藏品电商平台</p>
            <p class="txt">若您和您的团队想发行推⼴数字藏品，请联系iboxservice@outlook.com</p>
            <div class="us">
              <p>联系我们</p>
              <p>商务合作</p>
              <p>关于我们</p>
              <p>用户协议</p>
            </div>
          </div>
        </div>
        <div class="detail">
          <img class="icon" src="../../assets/police.png" />
          <p class="police">公网安备 15615456465456号</p>
          <p class="icp">ICP备2021003935号</p>
        </div>
        <p class="cpyr">Copyright © 2021 XXXX有限公司</p>
      </div>
      <!-- 关于我们区域结束 -->
    </el-footer>
  </div>
</template>

<script>
export default {
  name: 'home',
  data () {
    return {
      options: [{
        value: '选项1',
        label: '全部分类'
      }, {
        value: '选项2',
        label: '分类一'
      }, {
        value: '选项2',
        label: '分类一'
      }, {
        value: '选项3',
        label: '分类一'
      }, {
        value: '选项4',
        label: '分类一'
      }, {
        value: '选项5',
        label: '分类一'
      }],
      value: ''
    }
  }
}
</script>

<style lang="scss" scoped>
.home {
  width: 100%;

  .banner {
    left: 0;
    width: 100%;
    height: 100%;
  }
  .el-select {
    top: 28px;
    padding-left: 95px;

    ::v-deep .el-input__inner {
      width: 216px;
      height: 50px;
      background: rgba(255, 255, 255, 0.39);
      border: 1px solid #2C2C34;
      opacity: 1;
      border-radius: 12px;
      font-size: 16px;
      color: #333;
    }
    .el-icon-arrow-up {
      color: #333;
    }
  }
  .el-main {
    margin-top: 6px;
    padding-left: 86px;
    padding-right: 86px;

    .demo-image{
      float: left;
      width: 100%;
      height: auto;
      margin-top: 30px;

      .block {
        float: left;
        width: 380px;
        margin-left: 5px;
        margin-right: 20px;
        margin-bottom: 24px;
        background: #fff;
        border-radius: 14px;

        .tips {
          margin-top: -12px;

          p{
            position: relative;
            width: 76px;
            height: 20px;
            text-align: center;
            font-size: 12px;
            font-weight: 400;
            background: #0066ED;
            border-radius: 14px 0px 14px 0px;
            color: #FFFFFF;
            opacity: 1;
            z-index: 10;
          }
        }

        .tips-no {
          margin-top: -12px;

          p{
            position: relative;
            width: 76px;
            height: 20px;
            text-align: center;
            font-size: 12px;
            font-weight: 400;
            background: #C5CFD5;
            border-radius: 14px 0px 14px 0px;
            color: #FFFFFF;
            opacity: 1;
            z-index: 11111;
          }
        }

        .shop-img{
          width: 398px;
          height: 430px;
          margin-left: -9px;
          margin-top: -38px;
        }

        .shop-content{
          width: 360px;
          height: 86px;
          margin-left: 18px;

          .content {
            font-size: 18px;
          }

          .level {
            width: 14.9px;
            height: 12.08px;
            margin-left: 5px;
          }
          .user {
            padding-top: 14px;

            .avatar {
              img {
              width: 26px;
              height: 26px;
              }
            }

            .el-button {
              width: 66px;
              height: 36px;
              float: right;
              padding-left: 8px;
              margin-right: 16px;
              margin-top: -45px;
              background: #fff;
              border: 2px solid #2C2C34;
              font-size: 16px;
              font-weight: 400;
              color: #2C2C34;
              opacity: 1;
            }

            .sale {
              width: 66px;
              height: 36px;
              float: right;
              padding-left: 8px;
              margin-right: 16px;
              margin-top: -45px;
              background: #E1E1E1;
              border: none;
              font-size: 16px;
              font-weight: 400;
              color: #fff;
              opacity: 1;
            }

            .user-name{
              width: 50px;
              margin-left: 33px;
              margin-top: -25px;
            }
          }
        }
      }
    }

    .look-btn {
      width: 372px;
      height: 56px;
      margin-left: 33%;
      margin-top: 10px;
      background: #F8FBFF;
      color: #333;
      font-size: 16px;
      border: 2px solid #2C2C34;
      opacity: 1;
      border-radius: 12px;
    }

    .figure {
      .title {
        margin-top: 146px;
        h1{
          width: 443px;
          height: 65px;
          margin: 0 auto;
          font-size: 49px;
          font-weight: bold;
          line-height: 65px;
          color: #333333;
          opacity: 1;
        }
        .icon{
          width: 257px;
          height: 42px;
          margin-top: -38px;
          margin-left: 48%;
          background: #30DFE8;
          opacity: 1;
        }
        .text{
          margin-top:-5px;
          text-align: center;
          font-size: 16px;
          font-weight: 400;
          line-height: 21px;
          color: #333;
          opacity: 1;
        }
      }

      .content {
        margin-top: 125px;

        .content-block {
          float: left;
          width: 370px;
          height: 260px;
          margin-right:28px;
          background: #FFF;
          opacity: 1;
          border-radius: 18px;

          img {
            width: 190px;
            height: 190px;
            margin-top: -80px;
            margin-left: 148px;
          }

          .detail {
            padding-left: 26px;

            .introduce {
              width: 296px;
              height: 59px;
              font-size: 13px;
              font-weight: 400;
              line-height: 21px;
              color: #666;
            }
          }
        }
      }
    }
  }

  .el-footer {
    width: 100%;
    height: auto;
    padding: 0;
    margin-top: 94px;
    .footer{
      width: 100%;
      height: 688px;
      background: #F8FBFF;

      .footer-content {

        h2 {
          width: 122px;
          height: 26px;
          margin: 0 auto;
          padding-top: 106px;
          font-size: 20px;
          font-weight: bold;
          line-height: 26px;
          color: #333;
        }

        .title{
          width: 390px;
          height: 40px;
          margin: 0 auto;
          padding-top: 18px;
          padding-bottom: 11px;
          font-size: 30px;
          font-weight: 400;
          line-height: 40px;
          color: #333;
        }
        .intro{
          width: 700px;
          height: 38px;
          margin: 0 auto;
          text-align: center;
          font-size: 14px;
          font-weight: 400;
          line-height: 19px;
          color: #666;
        }
      }

      .footer-block {
        margin-top: 61px;
        margin-left: 163px;

        .block-demo {
          width: 500px;
          height: 134px;
          float: left;
          margin-top: 24px;
          margin-right: 40px;
          background: #2C2C34;
          opacity: 1;
          border-radius: 10px;
        }

        .block {
          padding-top: 6px;
          padding-left: 31px;
          padding-right: 40px;

          .block-title {
            width: 188px;
            height: 21px;
            font-size: 16px;
            font-weight: 400;
            line-height: 21px;
            color: #FFF;
            opacity: 1;
          }

          .block-txt {
            width: 420px;
            height: 59px;
            margin-top: -2px;
            font-size: 14px;
            font-weight: 400;
            line-height: 19px;
            color: #FFF;
            opacity: 1;
          }
        }
      }
    }

    .about {
      width: 100%;
      height: 371px;
      padding-left: 43px;
      margin-top: -29px;
      background: #fff;

      .about-bgc {
        height: 240px;
        background-image:url("../../assets/组 8@2x.png");
        background-size:461px 238px;
        background-repeat:no-repeat;

        .about-content {
          margin-left: 50px;

          .title {
            padding-top: 112px;
            width: 390px;
            height: 40px;
            font-size: 30px;
            font-weight: bold;
            line-height: 40px;
            color: #333;
            opacity: 1;
          }

          .txt {
            width: 421px;
            height: 17px;
            margin-top: -16px;
            font-size: 13px;
            font-weight: 400;
            line-height: 17px;
            color: #666;
            opacity: 1;
          }

          .us {
            margin-top: -13px;

            p {
              float: left;
              width: 56px;
              height: 19px;
              margin-right: 40px;
              font-size: 14px;
              font-weight: 400;
              line-height: 19px;
              color: #333;
            }
          }
        }
      }

      .detail {
        margin-left: 50px;
        display: flex;
        flex-direction: row;
        align-items: center;

        .police {
          width: 200px;
          height: 17px;
          margin-left: 5px;
          margin-right: 38px;
          font-size: 13px;
          font-weight: 400;
          line-height: 17px;
          color: #0066ED;
          opacity: 1;
        }

        .icp {
          width: 123px;
          height: 17px;
          font-size: 13px;
          font-weight: 400;
          line-height: 17px;
          color: #0066ED;
          opacity: 1;
        }
      }

      .cpyr {
        width: 202px;
        height: 17px;
        margin-left: 50px;
        font-size: 13px;
        font-weight: 400;
        line-height: 17px;
        color: #999;
      }
    }
  }
}

</style>
